package com.zkthink.ceres.product.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel("分页查询通用请求对象")
@Data
public class PageQueryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "起始行，内部使用", hidden = true)
    private int start;

    @ApiModelProperty("页码 从1开始")
    private int pageIndex = 1;

    @ApiModelProperty("每页大小")
    private int pageSize = 10;

    @ApiModelProperty(value = "用户id",hidden = true)
    private Long mid;
}
